body {
	font-family: sans-serif;
	background: gray;
	margin: 0;
	text-align: center;
}

#whole_page {
	width: 50em;
	margin: auto;
	padding: 0;
	text-align: left;
	border-width: 0 1px 1px 1px;
	border-color: black;
	border-style: solid;
}

#header {
	color: white;
	background: DarkOliveGreen;
	font-size: 24pt;
	padding: 0.25em;
	margin-bottom: 0;
}

#nav {
	color: black;
	background: #ccc;
	font-size: 12pt;
	font-weight: bold;
	padding: 0.5em;
}

#nav a, #nav a:visited {
	color: DarkOliveGreen;
	text-decoration: none;
}

#nav a:hover {
	border-bottom: 2px dotted DarkOliveGreen;
}

#content {
	height: 100%;
	background: white;
	padding: 1em;
}

#content h1 {
	font-size: 18pt;
}

html fieldset {
	position: relative;
}

html legend {
	position: absolute;
	top: -1em;
	left: .5em;
}

html fieldset {
	position: relative;
	margin-top: 1em;
	padding-top: 2em;
	padding-bottom: 2em;
}

fieldset {
	background: #ddd;
}

legend {
	color: white;
	background: DarkOliveGreen;
	padding: .4em .1em;
}

label {
	width: 10em;
	float: left;
	text-align: right;
	margin-right: 0.2em;
	display: block;
}

.form_row {
	white-space: nowrap;
	padding-bottom: .5em;
}

.submit {
	margin-left: 15em;
}

.debug_dump {
	text_align: left;
	border_top: 1px dashed black;
	background: #ccc;
	margin: 0;
	padding: 0.5em;
}

/* Error Reporting Styles */

.fieldWithErrors {
	margin: 2px;
	padding: 2px;
	background-color: FireBrick;
	display: table;
}

#errorExplanation {
	border: 2px solid FireBrick;
	padding: 7px;
	padding-bottom: 12px;
	margin-bottom: 20px;
	background-color: #f0f0f0;
}

#errorExplanation h2 {
	text-align: left;
	font-weight: bold;
	font-size: 12pt;
	padding: 5px 5px 5px 15px;
	background-color: #c00;
	margin: -7px;
	color: #fff;
}

#errorExplanation p {
	color: #333;
	margin-bottom: 0;
	padding: 5px;
}

#errorExplanation ul li {
	font-size: 11pt;
	list-style: square;
}

#notice {
	border: 1px solid green;
	padding: 1em;
	margin: 1em;
	margin-bottom: 2em;
	background-color: lightgray;
	font: bold smaller sans-serif;
}

#debug {
	margin-top: 1em;
	margin-left: auto;
	text-align: center;
}

#debug a, #debug a.visited {
	text-decoration: none;
	color: DarkOliveGreen;
}

fieldset.debug_info {
	text-align: left;
	margin: 1em;
	background: #eee;
}